/**
 *  担当者情報のクラス
 *  @author Komori
 *  @version 1.0
 */

package manager;

public class ManagerBean {

	public static final int PAGE_MAX = 10;

	private int id;
	private String name;
	private String ruby;
	private boolean upperLevel;
	private String password;
	private String time;
	private boolean deleteFlag;

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRuby() {
		return ruby;
	}
	public void setRuby(String ruby) {
		this.ruby = ruby;
	}
	public boolean isUpperLevel() {
		return upperLevel;
	}
	public void setUpperLevel(int upperLevel) {
		if(upperLevel == 0) {
			this.upperLevel = false;
		} else {
			this.upperLevel = true;
		}
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public boolean isDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(int deleteFlag) {
		if(deleteFlag == 0) {
			this.deleteFlag = false;
		} else {
			this.deleteFlag = true;
		}
	}

}
